﻿using MediatR;
using PublicClass.BreedingEnum;
using PublicClass;

namespace S.Breeding.Api.Application.Command.OustManageCommand
{
    public class OustManageCreateCommand : IRequest<int>
    {
        /// <summary>
        /// 主键 ID
        /// </summary>
        public int OMId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Earbugles { get; set; }
        /// <summary>
        /// 淘汰日期
        /// </summary>
        public DateTime? OustTime { get; set; }
        /// <summary>
        /// 淘汰原因
        /// </summary>
        public OustCause? OustCause { get; set; }
        /// <summary>
        /// 是否离场
        /// </summary>
        public Lingchatan? Lingchatan { get; set; }
        /// <summary>
        /// 处理措施
        /// </summary>
        public Dispose? Dispose { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public Breed? Breed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Sex? Sex { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string? Reproductive { get; set; }

        /// <summary>
        /// 繁殖状态
        /// </summary>
        public ReproductiveState? ReproductiveState { get; set; }
        /// <summary>
        /// 淘汰月龄
        /// </summary>
        public int OustMonth { get; set; }
        /// <summary>
        /// 淘汰月龄
        /// </summary>
        public int OustDay { get; set; }
        /// <summary>
        /// 淘汰栋舍
        /// </summary>
        public string? OustDorm { get; set; }
        /// <summary>
        /// 淘汰栏位
        /// </summary>
        public string? OustColumns { get; set; }
        /// <summary>
        /// 复核人
        /// </summary>
        public string? ReviewBy { get; set; }
        /// <summary>
        /// 复核时间
        /// </summary>
        public DateTime? ReviewDate { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentCord { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 逻辑删除字段
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool ExamineType { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int? SheepTypeId { get; set; }
    }
}
    